.main-content {
    /* background-color: aliceblue; */
    padding: 20px;
}

.main-content .title {
    font-weight: 600;
}

.essay_info {
    height: 28px;
    line-height: 28px;
    color: #999AAA;
}

.essay_content {
    /* width: 760px; */
    margin: 10px auto;
    /* font-size: 16px; */
    line-height: 30px;
}

.essay_content p {
    margin: 10px 0;
    text-indent: 32px;
}

.essay_content li {
    margin: 10px 0;
    /* text-indent: 48px; */
}

.essay_content table {
    margin: 15px 0;
}

.essay_content h2 {
    padding: 5px;
    margin-top: 10px;
    border-bottom: rgb(200, 200, 220) 1px solid;
    width: 90%;
}

.essay_content h3{
    font-weight: bold;
    font-size:1.17em;
}

.essay_content h1,
.essay_content h2,
.essay_content h3,
.essay_content h4 {
    margin: 15px 0;
}

.essay_content img {
    margin: 16px 0 24px;
}

.essay_content pre {
    width: 738px;
    padding: 5px;
    border: 1px solid rgb(200, 200, 200);
    overflow: auto;
    background-color: rgb(230, 230, 230);
    max-height: 300px;
    border-radius: 2px;
}

.essay_content pre code {
    font-family: hack_regular;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 18.5714px;
}

.essay_end {
    height: 40px;
    line-height: 40px;
    padding-left: 40px;
    border-radius: 4px;
    box-shadow: 1px 1px 5px rgb(200, 200, 200);
    background-color: #F5F5F5;
}

.essay_end .good_icon,
.essay_end .share_icon,
.essay_end .collect_icon {
    cursor: pointer;
    color:blue;
    line-height:40px;
}

.essay_end .good_icon,
.essay_end .watch_icon,
.essay_end .share_icon,
.essay_end .collect_icon {
    display: inline-block;
    margin: 6px 0;
    vertical-align: top;
}

.essay_end .good_num,
.essay_end .watch_num,
.essay_end .share_tip {
    line-height: 40px;
    vertical-align: top;
}

.side-bar {
    /* background-color: antiquewhite; */
    padding-top: 20px;
    height: 100vh;
    /* padding: 0 5%; */
}

.search_box {
    height: auto;
    width: 90%;
    margin: 10px auto;
    padding: 10px 0 20px;
    background-color: #F5F5F5;
}

.search_input {
    display: block;
    width: 80%;
    height: 32px;
    margin: 20px auto;
    border: 1px solid #cccccc;
}

.search_btn {
    display: block;
    margin: 0 auto;
}

.essays {
    height: auto;
    width: 90%;
    margin: 10px auto;
}

.essays .essays_title {
    height: 32px;
    line-height: 32px;
    background-color: #D6ECF8;
    padding-left: 1em;
    font-weight: 700;
}

.essays_ul {
    background-color: #F5F5F5;
}

.essays_ul li {
    height: auto;
    width: 90%;
    padding: 10px 5%;
    color: #9C5666;
    line-height: 24px;
}

.essays_ul i {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: top;
    line-height: 24px;
}

.comment_title {
    font-size: 14px;
}

.comment {
    margin-top: 24px;
}

.input_comment_div {
    display: inline-block;
}

.input_comment {
    width: calc(100% - 16px);
    height: 96px;
    line-height: 24px;
    padding: 4px;
    word-break: break-all;
    resize: none;
    border-radius: 4px;
    border: rgb(200, 200, 200) solid 1px;
}

.submit_comment {
    display: block;
    width: 100%;
    height: 104px;
}

.comment_list {
    margin-top:18px;
    border-top: rgb(230, 230, 230) solid 1px;
    border-bottom: rgb(230, 230, 230) solid 1px;
}

.root {
    /* background-color: #D6ECF8; */
    line-height: 18px;
    border-bottom: rgb(230, 230, 230) solid 1px;

}

.root .line1 {
    padding: 10px;
}

.root .line1 .head_span img {
    height: 18px;
    width: 18px;
    margin-right: 10px;
}

.root .line1 .username_span {
    /* font-weight: 600; */
}

.root .line1 .comment_time {
    float: right;
    margin-right: 10px;
    color:#AEAEAE;
}

.root .line2 {
    padding-left: 40px;
    padding-right: 40px;
    width: calc(100% - 80px);
    word-wrap: break-word;
    word-break: break-all;
    text-indent: 2em;
}
.root .line3{
    padding:10px 40px 10px;
}
.root .line3 .comment_good_icon{
    color:#8590A6;
}

.root .line3 .comment_good_num{
    margin-right:20px;
}
.root .line3 .comment_reply_switch{
    cursor: pointer;
    color:#AEAEAE;
}
.line4{
    display: none;
}
.line4 .comment_reply{
    display: block;
    height:28px;
    line-height:22px;
    font-size:14px;
    padding: 1px 4px;
    margin-left: 40px;
    margin-bottom: 10px;
    width:calc(100% - 56px);
    border: rgb(160, 160, 160) solid 1px;
    border-radius: 2px;

}
.line4 .comment_reply_btn{
    display:block;
    height:32px;
    width:80%;
}
.child {
    /* background-color: #D6ECF8; */
    line-height: 18px;
    margin-left:40px;
    width: calc(100% - 42px);
    border-bottom: rgb(230, 230, 230) solid 1px;
}

.child .line1 {
    padding: 10px;
}

.child .line1 .head_span img {
    height: 18px;
    width: 18px;
    margin-right: 10px;
}

.child .line1 .username_span {
    /* font-weight: 600; */
}

.child .line1 .comment_time {
    float: right;
    margin-right: 10px;
    color:#AEAEAE;
}

.child .line2 {
    padding-left: 40px;
    padding-right: 40px;
    width: calc(100% - 80px);
    word-wrap: break-word;
    word-break: break-all;
    text-indent: 2em;
}
.child .line3{
    padding:10px 40px 10px;
}
.child .line3 .comment_good_icon{
    color:#8590A6;
}

.child .line3 .comment_good_num{
    margin-right:20px;
}
.child .line3 .comment_reply_switch{
    cursor: pointer;
    color:#AEAEAE;
}

.comment_nav{
    text-align: center;
}
